<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
	<title>帖子详情</title>
	<link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<style>
	body{
		background-color: #eee;
	}
	.a{
		background-color: white;
		border-radius: 5px;
		box-shadow: 2px 2px 2px 2px;
	}
</style>
<body>

	<div class="container">
	<div class="row">
		<div class="col-md-2 a">
			<h4>作者的名字</h4>
			<img src="images/cat.gif" alt="">
			<p>发帖:99</p>
			<p>版主</p>
		</div>
		<!-- 帖子 -->
		<div class="col-md-10 a">
			<h4>${oneTie.t_title}</h4>
			<p>发表于${oneTie.t_time}</p>
			<p>${oneTie.t_content}</p>
		</div>
		
		<!-- 回复 -->
		<div class="col-md-10 a">
			<c:forEach items="${allReply}" var="reply" varStatus="xh">
				${xh.count }楼
				<p>回复人：${reply.user.user_name }</p>
				<p>时间：${reply.reply_time }</p>
				<p>回复内容：${reply.reply_content }</p>
			</c:forEach>
		</div>
		
		
		
	</div>

</div>


	<script src="js/jquery.min.js"></script>
	<script src="js/bootstrap.min.js"></script>
</body>
</html>